Part Number Hot Search : 
V10RFXX LA6261 RD68E 664R1000 ASFL108 P6KE20CA MA150 PE4005
Product Description
Full Text Search
 

To Download SPEAR-09-B042 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 SPEAR-09-B042
SPEAr(R) BASIC ARM 926EJ-S core, customizable logic, large IP portfolio SoC
Preliminary Data
Features

ARM926EJ-S core @333 MHz - 16 Kbyte instructions/data cache Reconfigurable logic array: - 300 Kgate (100% utilization rate) - 102 I/O lines - No clock domain limitation - 64 Kbyte + 8 Kbyte configurable memory pool Multilayer AMBA 2.0 compliant bus with fMAX 166 MHz 32-Kbyte boot ROM 8 Kbyte common static RAM - Shared with reconfigurable array Dynamic power saving features High performance DMA - 8 channels Ethernet 10/100 MAC with MII interface. (IEEE-802.3) USB 2.0 device with integrated PHY 2 USB 2.0 host with integrated PHY External DRAM memory interface: - 8/16-bit (LPDDR@166 MHz) - 8/16-bit (DDR2@333 MHz) - 2 banks available Flash interface: - SPI serial (up to 50 Mbps) SPI master/slave up to 50 Mbps - Compliant with Motorola, Texas instruments and National semiconductor protocols I C master/slave mode - high, fast and slow speed UARTs (up to 460.8 Kbps) IrDA (FIR/MIR/SIR) compliant serial link from 9.6 Kbps to 4 Mbps speed-rate
2
LFBGA289 6 legacy GPIO bidirectional signals with interrupt capability ADC 10-bit, 1 Msps 8 inputs - Hw supporting up to 13.5 bits at 8 KSPS by oversampling and accumulation JPEG codec accelerator (1 clock/pixel) C3 crypto accelerator 3 pairs of 16-bit general purpose timers with programmable prescaler Real-time clock Watchdog System controller Miscellaneous internal control registers - SOC parameter configuration JTAG (IEEE1149.1) interface ETM9 interface Operating temperature: - 40 to 85 C Low power consumption technology


Description
SPEAr BASIC is a powerful digital engine belonging to SPEAr family, the innovative customizable system-on-chip. The device integrates an ARM 926 core with an extensive set of proven IPs and a large configurable logic block that allows very fast customization of unique and/or proprietary solutions.

May 2008
Rev 1
1/66
www.st.com 1
This is preliminary information on a new product now in development or undergoing evaluation. Details are subject to change without notice.
Contents
SPEAR-09-B042
Contents
1 2 3 4 5 Reference documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Product overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Architecture properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5.1 Core architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
6
Pins description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6.1 6.2 Functional pin group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Special I/Os . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.2.1 6.2.2 USB 2.0 transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 SSTL_2/SSTL_18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7 8
Memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Main blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.1 CPU subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.1.1 8.1.2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 CPU ARM 926EJ-S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.2 8.3
Clock and reset system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Main oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
8.3.1 8.3.2 Crystal connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Crystal equivalent model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
8.4
RTC oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
8.4.1 8.4.2 Crystal connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Crystal equivalent model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
8.5 8.6 8.7 8.8
Ethernet controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 USB2 host controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 USB2 device controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 32-Kbyte boot ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2/66
SPEAR-09-B042
Contents
8.9 8.10 8.11 8.12 8.13
Serial memory interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 JPEG (codec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Cryptographic co-processor (C3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Low jitter PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Main PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.13.1 8.13.2 8.13.3 8.13.4 8.13.5 PLL block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Normal mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Fractional mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Double side dithering mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Single side dithering mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.14 8.15 8.16 8.17 8.18 8.19 8.20
ADC controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 I2C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 DDR memory controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Reconfigurable logic array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.20.1 8.20.2 8.20.3 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Custom project development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Customization process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
9
Standard customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
9.1 9.2 9.3 9.4 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Standard customization memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 PL_GPIO sharing scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
9.4.1 9.4.2 9.4.3 9.4.4 9.4.5 9.4.6 9.4.7 9.4.8 9.4.9 LCD controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 SD card controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Flexible static memory controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Keyboard interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 TDM interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 I2S interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 SPI_I2C cell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 GPIO_IT cell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 One bit DAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
3/66
Contents 9.4.10 9.4.11 9.4.12
SPEAR-09-B042 ADC enhanced control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Camera interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Interrupt and DMA request management . . . . . . . . . . . . . . . . . . . . . . . 55
9.5
TDM timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
9.5.1 I2S interface timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
10
Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
10.1 10.2 10.3 10.4 10.5 10.6 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 DC electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 General purpose I/O characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 LPDDR and DDR2 pad electrical characteristics . . . . . . . . . . . . . . . . . . . 62 Power up sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 PowerGood . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
11 12 13
Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
4/66
SPEAR-09-B042
List of tables
List of tables
Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11. Table 12. Table 13. Table 14. Table 15. Table 16. Table 17. Table 18. Table 19. Table 20. Table 21. Table 22. Table 23. Table 24. Table 25. Table 26. Table 27. Table 28. Table 29. Table 30. Table 31. Table 32. Table 33. Table 34. Pin description by functional group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Main memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 ICM1 - Low speed connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 ICM4 - High speed connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 ML1 - Multi layer CPU subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 ICM3 - Basic subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Equivalent values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Equivalent values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Endpoint assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Reconfigurable logic array interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 RAS_M - communication subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 PL_CLK mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 PL_GPIO mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 KBREG coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 TDM block pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 I2S interface pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 DAC performances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Maximum picture size according data format and buffer size. . . . . . . . . . . . . . . . . . . . . . . 53 Camera interface pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Camera interface timing specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 TDM timing specification (1024 TS = 65536 kHz = 15.26 ns). . . . . . . . . . . . . . . . . . . . . . . 58 I2S timing specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Absolute maximum rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Recommended operating condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Low voltage TTL DC input specification (3V< VDD <3.6V) . . . . . . . . . . . . . . . . . . . . . . . . . 61 Low voltage TTL DC output specification (3V< VDD <3.6V) . . . . . . . . . . . . . . . . . . . . . . . . 61 Pull-up and pull-down characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 DC characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Driver characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 On die termination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Reference voltage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
5/66
List of figures
SPEAR-09-B042
List of figures
Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. Figure 10. Figure 11. Figure 12. Figure 13. Figure 14. Figure 15. Figure 16. Figure 17. Figure 18. Figure 19. Figure 20. SPEAr BASIC functional interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Crystal connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Crystal equivalent model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Crystal connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Crystal equivalent model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 PLL block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 SPEAr BASIC standard block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Pre-defined frame sync shapes (slave or master) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Switching constant delay between TSy and TSx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Type of data carried by the TDM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 External HSYNC synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 External VSYNC synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 ITU656 embedded synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 CSI2 embedded synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Camera interface waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Interrupt and DMA block for telecom peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 TDM signals description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 TDM signals description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 LFBGA289 mechanical data and package dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6/66
SPEAR-09-B042
Reference documentation
1
Reference documentation
1. 2. 3. 4. 5. 6. 7. 8. 9. ARM926EJ-S - technical reference manual AMBA 2.0 specification EIA/JESD8-9 specification EIA/JESD8-15 specification USB2.0 specification OHCI specification EHCI specification IRPHY version1.3 IRLAP version 1.1
10. IEEE 1149.1 11. IEEE 802.3 - 2002 12. I2C - bus specification version 2.1
7/66
Product overview
SPEAR-09-B042
2
Product overview
An outline diagram of the main SPEAr BASIC functional interfaces is shown in Figure 1. Figure 1. SPEAr BASIC functional interfaces
System I/O 6 x 16bit timer Watchdog timer 8 x DMA Interrupt control RTC
compressor
102 GPIOs 300Kgate user logic
Memory SPI Flash
LPDDR/DDR2
64 + 8 KByte SRAM
TCM
Connectivity 10/100 Ethernet MAC Double (HS-FS) USB Host HS USB Device UART HSB PHY HSB PHY HSB PHY
Analog i/f 8 x 10b 1Msps ADC
ARM926EJ-s 333MHz 16K + 16K I/D CACHE 32 Kbyte boot ROM
System USBs PLL System SSGC ETM-9 JTAG Accelerator JPEG
IrDA SPI IC
2
Crypto (C3)
8/66
SPEAR-09-B042
Features
3
Features
The main functionalities implemented in the SPEAr BASIC SoC device are as follows:

ARM926EJ-S core @333 MHz, 16+16 KB-I/D cache, configurable TMC-I/D size, MMU, TLB, JTAG and ETM trace module (multiplexed interfaces) 300 KGate reconfigurable logic array (100% utilization rate, 4 metal and 4 vias masks) 64 + 8 Kbyte configurable internal memory pool (single and dual memory port) 32 Kbyte boot ROM (code customizable) Dynamic power save features High performance linked list 8 channels DMA Ethernet MAC 10/100 Mbps (MII PHY interface) USB2.0 device (high-full speed), integrated PHY transceiver 2 USB2.0 host (high-full-low speed), integrated PHY transceiver External memory interface: 8/16-bit mobile LPDDR@166 MHz/DDR2@333 MHz Flash interface: SPI serial (up to 50 Mbps) SPI master/slave (Motorola, Texas instruments, National semiconductor) up to 50 Mbps I2C (high-fast-slow speed) master/slave UART (speed rate up to 460.8 Kbps) IrDA (FIR/MIR/SIR) 9.6 Kbps to 4 Mbps speed-rate 6 legacy GPIOs bidirectional signals with interrupt capability 102 RAS GPIOs. (User customizable bidirectional signals with no clock domain limitations) ADC (1s/1Msps) with 8 analog input channels, 10-bit approximation (supporting up to 13.5 bits at 8 KSPS by oversampling and accumulation) JPEG codec accelerator 1clock/pixel ST C3 (channel controller co-processor) flexible engine is a configurable array of Macro-Functions (channels) controlled by instruction dispatchers allowing symmetric or public key cryptography 3 pairs of 16-bits general purpose timers with programmable prescaler RTC - WDOG - SYSCTR - MISC internal control registers JTAG (IEEE1149.1) interface ETM9 interface and EmbeddedICE-RT

9/66
Architecture properties
SPEAR-09-B042
4
Architecture properties
Power save features: - - - - Operating frequency SW programmable Clock gating functionality Low frequency operating mode Automatic power saving controlled from application activity demands 300 Kgate standard cell array Internal memory pool (64 + 8 Kbyte) fully configurable Up to 10 internal source clocks (some of these are programmable) No clock domain limits (every PL_GPIO can clock the customizable logic) Three memory paths toward the DRAM controller to ensure for optimal bandwidth
Customizable logic to embed the customer's application: - - - - -

Easily extendable architecture External memory bandwidth of each master tuneable to meet the target performance of different applications
10/66
SPEAR-09-B042
Block diagram
5
Figure 2.
Block diagram
Block diagram
SPEArBASIC
Configurable Cell Array Subsystem CPU ARM Subsystem
SRAM 16KB
SRAM 16KB
ARM926EJ-S
Cache: 16kI 16kD
Coprocessor i/f Tcm-I/D I D
Int. Ctr
Tmr APB
P
Q
Cell Array
(Applic. configurable)
RI-O 6
I
1
5-23
H
2
G1-2
34
M2
Multi-layer Interconnection Matrix
6-78 1-123 2-12(4) 6 3-12 3 4 4-12 7 8 7 4
M1
L
M0
M
SDRAM
Controller -DDR2 -DDRmob
CFG
F
D
C
B
A
Uart
SPI
E
Mtx-7 Mtx-8
JPEG (Codec) RAM (8KB)
Tmr 1-2
WDG RTC
I2C
C3 Gpio
ROM (32KB) Flash Serial
USB2.0 Dev USB2.0
hub2host
M4
ADC
IrDA
SRAM 16KB
SRAM 16KB
Sys Ctr Misc
Low Speed Subsystem
Applic Subsys.
Basic Subsystem
HS Subsystem
Common Subsystems
5.1
Core architecture
The SoC internal architecture is based on several shared subsystem logic blocks interconnected through a multilayer interconnection matrix as detailed in Figure 2. The switch matrix structure allows different subsystem dataflows to be executed in parallel improving the core platform efficiency. High performance master agents are directly interconnected with the memory controller reducing the memory access latency. Three different memory paths (two of them shared with other masters) are reserved for the programmable logic to enhance the user application throughput. The overall memory bandwidth assigned to each master port can be programmed and optimized through an internal efficient weighted round-robin arbitration mechanism. The internal memory pool is completely configurable to improve the performance of the user application custom logic.
M3
DMA (8-chan.)
Eth. Mac
11/66
Pins description
SPEAR-09-B042
6
6.1
Pins description
Functional pin group
Table 1 shows the pin list with functional pins grouped by IP, and power pins (including grounds) grouped seperately. Please refer also to Section 11.
Table 1.
Group ADC
Pin description by functional group
Signal name AIN_0 AIN_1 AIN_2 AIN_3 AIN_4 AIN_5 AIN_6 AIN_7 ADC_VREFN ADC_VREFP Ball N16 N15 P17 P16 P15 R17 R16 R15 N14 P14 K16 K15 K14 K13 J15 J14 Input nTRST L16 Output Input Input Input I/O Test data output Test clock Test data input Test mode select Shared I/O TTL BIDIR buffer, 3.3 V capable, 4mA 3.3 V tolerant, PU Test reset input TTL Schmitt trigger input buffer, 3.3 V tolerant, PU TTL output buffer, 3.3 V capable,4 mA TTL Schmitt trigger input buffer, 3.3 V tolerant, PU Input ADC negative voltage reference ADC positive voltage reference Test configuration ports. TTL input buffer, 3.3 V For functional mode tolerant, PD they must be set to zero. Direction Input Function ADC analog input channel Pin type Analog buffer 2.5V tolerant
DEBUG
TEST_0 TEST_1 TEST_2 TEST_3 TEST_4 BOOT_SEL
TDO TCK TDI TMS PL_I/O PL_GPIO_0 PL_GPIO_1 PL_GPIO_2 PL_GPIO_3
L15 L17 L14 L13 F3 E3 E4 D1
12/66
SPEAR-09-B042 Table 1.
Group
Pins description
Pin description by functional group (continued)
Signal name PL_GPIO_4 PL_GPIO_5 PL_GPIO_6 PL_GPIO_7 PL_GPIO_8 PL_GPIO_9 PL_GPIO_10 PL_GPIO_11 PL_GPIO_12 PL_GPIO_13 PL_GPIO_14 PL_GPIO_15 PL_GPIO_16 PL_GPIO_17 PL_GPIO_18 PL_GPIO_19 PL_GPIO_20 PL_GPIO_21 PL_GPIO_22 PL_GPIO_23 PL_GPIO_24 PL_GPIO_25 PL_GPIO_26 PL_GPIO_27 PL_GPIO_28 PL_GPIO_29 PL_GPIO_30 PL_GPIO_31 Ball C1 D2 B1 D3 C2 B2 C3 E5 D4 A1 A2 B3 E6 C4 D5 A3 B4 C5 D6 A4 B5 C6 A5 B6 A6 A7 B7 C7 D7 E7 E8 D8 C8 B8 A8 I/O Shared I/O TTL BIDIR buffer, 3.3 V capable, 4mA 3.3 V tolerant, PU Direction Function Pin type
PL_I/O
PL_GPIO_32 PL_GPIO_33 PL_GPIO_34 PL_GPIO_35 PL_GPIO_36 PL_GPIO_37 PL_GPIO_38
13/66
Pins description Table 1.
Group
SPEAR-09-B042
Pin description by functional group (continued)
Signal name PL_GPIO_39 PL_GPIO_40 PL_GPIO_41 PL_GPIO_42 PL_GPIO_43 PL_GPIO_44 PL_GPIO_45 PL_GPIO_46 PL_GPIO_47 PL_GPIO_48 PL_GPIO_49 PL_GPIO_50 PL_GPIO_51 PL_GPIO_52 PL_GPIO_53 PL_GPIO_54 PL_GPIO_55 PL_GPIO_56 PL_GPIO_57 PL_GPIO_58 PL_GPIO_59 PL_GPIO_60 PL_GPIO_61 PL_GPIO_62 PL_GPIO_63 PL_GPIO_64 PL_GPIO_65 PL_GPIO_66 PL_GPIO_67 PL_GPIO_68 PL_GPIO_69 PL_GPIO_70 PL_GPIO_71 PL_GPIO_72 PL_GPIO_73 Ball A9 B9 C9 D9 E9 A10 B10 A11 C10 B11 C11 A12 D10 B12 D11 E10 A13 C12 E11 D12 B13 A14 E12 A15 C13 D13 B14 E13 C14 B15 A16 C15 D14 B16 A17 Direction Function Pin type
14/66
SPEAR-09-B042 Table 1.
Group
Pins description
Pin description by functional group (continued)
Signal name PL_GPIO_74 PL_GPIO_75 PL_GPIO_76 PL_GPIO_77 PL_GPIO_78 PL_GPIO_79 PL_GPIO_80 PL_GPIO_81 PL_GPIO_82 PL_GPIO_83 PL_GPIO_84 PL_GPIO_85 PL_GPIO_86 PL_GPIO_87 PL_GPIO_88 PL_GPIO_89 PL_GPIO_90 PL_GPIO_91 PL_GPIO_92 PL_GPIO_93 PL_GPIO_94 PL_GPIO_95 PL_GPIO_96 PL_GPIO_97 Ball C16 E14 F13 B17 D15 F14 D16 C17 E15 E16 D17 F15 E17 G13 F16 F17 G14 G15 G16 G17 H13 H14 H15 H16 K17 J17 J16 H17 T2 T1 U1 U2 U3 U4 U5 Output Address line SSTL_2/SSTL_18 I/O Shared external clock TTL BIDIR buffer, 3.3 V capable, 8mA 3.3 V tolerant, PU Direction Function Pin type
PL_CLK
PL_CLK_1 PL_CLK_2 PL_CLK_3 PL_CLK_4
DDR I/F
DDR_ADD_0 DDR_ADD_1 DDR_ADD_2 DDR_ADD_3 DDR_ADD_4 DDR_ADD_5 DDR_ADD_6
15/66
Pins description Table 1.
Group
SPEAR-09-B042
Pin description by functional group (continued)
Signal name DDR_ADD_7 DDR_ADD_8 DDR_ADD_9 DDR_ADD_10 DDR_ADD_11 DDR_ADD_12 DDR_ADD_13 DDR_ADD_14 DDR_BA_0 DDR_BA_1 DDR_BA_2 DDR_RAS DDR_CAS DDR_WE DDR_CLKEN DDR_CLK_P DDR_CLK_N DDR_CS_0 DDR_CS_1 DDR_ODT_0 DDR_ODT_1 DDR_DATA_0 DDR_DATA_1 DDR_DATA_2 DDR_DATA_3 DDR_DATA_4 DDR_DATA_5 DDR_DATA_6 DDR_DATA_7 DDR_DQS_0 DDR_nDQS_0 DDR_DM_0 DDR_GATE_0 DDR_DATA_8 Ball T5 R5 P5 P6 R6 T6 U6 R7 P7 P8 R8 U8 T8 T7 U7 T9 U9 P9 R9 T3 T4 P11 R11 T11 U11 T12 R12 P12 P13 U10 T10 U12 R10 T17 Output I/O I/O Lower data mask Lower gate open Data lines (upper byte) SSTL_2/SSTL_18 SSTL_2/SSTL_18 SSTL_2/SSTL_18 Output Lower data strobe Differential SSTL_2/SSTL_18 I/O I/O On-die termination enable lines Data lines (lower byte) SSTL_2/SSTL_18 Output Chip select SSTL_2/SSTL_18 Output Output Output Output Output Row add. strobe Col. add. strobe Write enable Clock enable Differential clock SSTL_2/SSTL_18 SSTL_2/SSTL_18 SSTL_2/SSTL_18 SSTL_2/SSTL_18 Differential SSTL_2/SSTL_18 Output Bank select SSTL_2/SSTL_18 Direction Function Pin type
SSTL_2/SSTL_18
16/66
SPEAR-09-B042 Table 1.
Group
Pins description
Pin description by functional group (continued)
Signal name DDR_DATA_9 DDR_DATA_10 DDR_DATA_11 DDR_DATA_12 DDR_DATA_13 DDR_DATA_14 DDR_DATA_15 DDR_DQS_1 DDR_nDQS_1 DDR_DM_1 DDR_GATE_1 DDR_VREF DDR_COMP_GND DDR_COMP_1V8 DDR2_EN Ball T16 U17 U16 U14 U13 T13 R13 U15 T15 T14 R14 P10 R4 P4 J13 M1 M2 G3 H1 H2 H3 J4 K1 K2 J3 H4 K5 L4 P1 P2 Output Input Output Output Input Output Output Input I/O Input I/O I/O I/O Input Power Power Input I/O Upper data mask Upper gate open Reference voltage Return for external resistors External resistor 1.8V Configuration USB device D+ USB device DUSB device VBUS USB HOST1 D+ USB HOST1 DUSB HOST1 VBUS I/O Upper data strobe Differential SSTL_2/SSTL_18 SSTL_2/SSTL_18 SSTL_2/SSTL_18 Analog Power Analog TTL input buffer 3.3 V tolerant, PU Bidirectional analog buffer 5V tolerant TTL Input buffer 3.3 V tolerant, PD Bidirectional analog buffer 5V tolerant TTL output buffer 3.3 V capable, 4mA Direction Function Pin type
USB
DEV_DP DEV_DM DEV_VBUS HOST1_DP HOST1_DM HOST1_VBUS HOST1_OVRC HOST0_DP HOST0_DM HOST0_VBUS HOST0_OVRC USB_TXRTUNE USB_ANALOG_TE ST
USB host1 over-current TTL input buffer 3.3 V tolerant, PD USB HOST0 D+ USB HOST0 DUSB HOST0 VBUS Bidirectional analog buffer 5v tolerant TTL Output Buffer 3.3 V capable, 4mA
USB host0 over-current TTL input buffer 3.3 V tolerant, PD Reference resistor Analog test output 24 MHz crystal I 24 MHz crystal O Analog Analog Oscillator 2.5V capable
Master Clock
MCLK_XI MCLK_XO
17/66
Pins description Table 1.
Group RTC
SPEAR-09-B042
Pin description by functional group (continued)
Signal name RTC_XI RTC_XO Ball E2 E1 M13 M14 N17 M15 M16 M17 G4 F4 Input Output Power Main reset Configuration Power TTL Schmitt trigger input buffer, 3.3 V tolerant, PU Analog, 3.3 V capable Power Direction Input Output I/O I/O I/O Output Function 32KHz crystal I 32 KHz crystal O Serial Flash input data TTL input buffer 3.3 V tolerant, PU Pin type Oscillator 1V capable
SMI
SMI_DATAIN SMI_DATAOUT SMI_CLK SMI_CS_0 SMI_CS_1
Serial Flash output data TTL output buffer 3.3 V capable, 4mA Serial Flash clock Serial Flash chip select
Reset 3.3 V Compens.
MRESET DIGITAL_REXT DIGITAL_GND_RE XT
Note:
PU means Pull Up and PD means pull down
18/66
SPEAR-09-B042 Table 2. Power supply
Ball
Pins description
Signal name GND AGND VDD3 VDD HOST0_VDDbc HOST0_VDDb3 HOST1_VDDbc HOST1_VDDb3 DEVICE_VDDbc USB_VDDbs DEVICE_VDDb3 MCLK_VDD MCLK_VDD2v5 DITH1_AVDD SSTL_VDDe ADC_AGND ADC_AVDD DITH2_AVDD RTC_VDD
Value 0V 0V 3.3 V 1.2 V 2.5 V 3.3 V 2.5 V 3.3 V 2.5 V 1.2 V 3.3 V 1.2 V 2.5 V 2.5 V 1.8 V 0V 2.5 V 2.5 V 1.5 V
G6 G7 G8 G9 G10 G11 H6 H7 H8 H9 H10 H11 J6 J7 J8 J9 J10 J11 K6 K7 K8 K9 K10 K11 L6 L7 L8 L9 L10 M8 M9 M10 F2, G1, J2, L1, L3, L5, N2, N4, P3, R3 F5 F6 F7 F10 F11 F12 G5 J12 K12 L12 M12 F8 F9 G12 H5 H12 J5 L11 M6 M7 M11 L2 K4 K3 J1 N1 M3 N3 R1 R2 G2 M5 N5 N6 N7 N8 N9 N10 N11 N12 N13 M4 F1
6.2
6.2.1
Special I/Os
USB 2.0 transceiver
SPEAr BASIC has three USB 2.0 transceivers. One transceiver is used by the USB device controller, and two are used by the hosts. The transceivers are all integrated into a single USB three-PHY macro.
6.2.2
SSTL_2/SSTL_18
Fully complaint with JEDEC specification with programmable integrated terminations.
19/66
Memory map
SPEAR-09-B042
7
Memory map
Table 3. Main memory map
End address 0x3FFF.FFFF 0xBFFF.FFFF 0xCFFF.FFFF 0xD7FF.FFFF 0xDFFF.FFFF 0xE7FF.FFFF 0xEFFF.FFFF 0xF7FF.FFFF 0xFFFF.FFFF Peripheral External DRAM RAS_M ICM1 ICM4 ML1 ICM3 Notes Low power DDR or DDR2 Customizable logic array Reserved Low speed connection Reserved High speed connection Reserved Multi layer CPU subsystem Basic subsystem
Start address 0x0000.0000 0x4000.0000 0xC000.0000 0xD000.0000 0xD800.0000 0xE000.0000 0xE800.0000 0xF000.0000 0xF800.0000
Table 4.
ICM1 - Low speed connection
End address 0xD007.FFFF 0xD00F.FFFF 0xD017.FFFF 0xD01F.FFFF 0xD07F.FFFF 0xD0FF.FFFF 0xD17F.FFFF 0xD1FF.FFFF 0xD2FF.FFFF 0xD7FF.FFFF Peripheral UART ADC SPI I2C JPEG codec IrDA SRAM Reserved Static RAM shared memory (8 Kbyte) Reserved Reserved Notes Bus APB APB APB APB APB AHB AHB AHB AHB AHB
Start address 0xD000.0000 0xD008.0000 0xD010.0000 0xD018.0000 0xD020.0000 0xD080.0000 0xD100.0000 0xD180.0000 0xD280.0000 0xD300.0000
20/66
SPEAR-09-B042 Table 5. ICM4 - High speed connection
End address 0xE07F.FFFF 0xE0FF.FFFF 0xE10F.FFFF 0xE11F.FFFF 0xE12F.FFFF 0xE17F.FFFF 0xE18F.FFFF 0xE19F.FFFF 0xE20F.FFFF 0xE21F.FFFF 0xE2FF.FFFF 0xE280.FFFF 0xE7FF.FFFF Peripheral Ethernet ctrl USB2.0 device USB2.0 device USB2.0 device USB2.0 EHCI 0-1 USB2.0 OHCI 0 USB2.0 OHCI 1 ML USB ARB -
Memory map
Start address 0xE000.0000 0xE080.0000 0xE100.0000 0xE110.0000 0xE120.0000 0xE130.0000 0xE180.0000 0xE190.0000 0xE1A0.0000 0xE210.0000 0xE220.0000 0xE280.0000 0xE290.0000
Notes Reserved MAC FIFO Configuration registers Plug detect Reserved
Bus APB AHB AHB AHB AHB AHB AHB AHB
Reserved
AHB AHB
Reserved Configuration register Reserved
AHB AHB AHB
Table 6.
ML1 - Multi layer CPU subsystem
End address 0xF00F.FFFF 0xF0FF.FFFF 0xF10F.FFFF 0xF11F.FFFF 0xF7FF.FFFF Peripheral Timer ITC Primary Reserved Reserved Reserved Notes Bus APB APB AHB AHB AHB
Start address 0xF000.0000 0xF010.0000 0xF100.0000 0xF110.0000 0xF120.0000
21/66
Memory map Table 7. ICM3 - Basic subsystem
End address 0xFBFF.FFFF 0xFC1F.FFFF 0xFC3F.FFFF 0xFC5F.FFFF 0xFC7F.FFFF 0xFC87.FFFF 0xFC8F.FFFF 0xFC97.FFFF 0xFC9F.FFFF 0xFCA7.FFFF 0xFCAF.FFFF 0xFCB7.FFFF 0xFCFF.FFFF 0xFEFF.FFFF 0xFFFF.FFFF Peripheral Serial Flash memory Serial Flash controller Reserved DMA controller DRAM controller Timer 1 Watch dog timer Real-time clock General purpose I/O System controller Miscellaneous registers Timer 2 Internal ROM
SPEAR-09-B042
Start address 0xF800.0000 0xFC00.0000 0xFC20.0000 0xFC40.0000 0xFC60.0000 0xFC80.0000 0xFC88.0000 0xFC90.0000 0xFC98.0000 0xFCA0.0000 0xFCA8.0000 0xFCB0.0000 0xFCB8.0000 0xFDB8.0000 0xFF00.0000
Notes
Bus AHB AHB AHB AHB AHB APB APB APB APB APB APB APB
Reserved Reserved Boot
APB AHB AHB
22/66
SPEAR-09-B042
Main blocks
8
8.1
8.1.1
Main blocks
CPU subsystem
Overview
The CPU sub-system includes the following blocks:

ARM 926EJS Two timer channels Interrupt controller (32 IRQ lines)
8.1.2
CPU ARM 926EJ-S
The ARM926EJ-S processor is used, which is targeted for multi-tasking applications. Belonging to ARM9 family of general-purpose microprocessors, it contains a memory management unit, which provides virtual memory features, making it compliant with WindowsCE, Linux and SymbianOS operating systems. The ARM926EJ-S supports the 32-bit ARM and 16-bit Thumb instruction sets, enabling the user to trade off between high performance and high code density and includes features for efficient execution of Java byte codes. It also uses the ARM debug architecture and includes logic to assist in software debug. Its main features are:

CORE fMAX 333 MHz independent programmable for each CPU Memory management unit 16 Kbyte of instruction CACHE 16 Kbyte of data CACHE Configurable tightly coupled memory (I/D) size through the configurable logic array ARM-V5TEJ instructions set architecture: - - - ARM (32-bit), Thumb(R) (16-bit) DSP extensions JAVATM (8-bit) instructions

AMBA bus interface Embedded ICE-RT ETM9 (embedded trace macro-cell)
23/66
Main blocks
SPEAR-09-B042
8.2
Clock and reset system
The clock system is a fully programmable block that generates all the clocks necessary to the chip. The default operating clock frequencies are:

Clock @ 333 MHz for the CPU. (Note 1) Clock @ 166 MHz for AHB bus and AHB peripherals. (Note 1) Clock @ 83 MHz for, APB bus and APB peripherals. (Note 1) Clock @ 333 MHz for DDR memory interface. (Note 2)
The default values give the maximum allowed clock frequencies. The user can modify the clock frequencies by programming dedicated registers. The clock system consists of 2 main parts: a multiclock generator block and two internal PLLs. The multiclock generator block, takes a reference signal (which is usually delivered by the PLL), generates all clocks for the IPs of SPEAr BASIC according to dedicated programmable registers. Each PLL, uses an oscillator input of 24 MHz, to generate a clock signal at a frequency corresponding at the highest of the group. This is the reference signal used by the multiclock generator block to obtain all the other requested clocks for the group. Its main feature is electromagnetic interference reduction capability. The user can set up the PLL has a to modulate the VCO with a triangular wave. The resulting signal has a spectrum (and power) spread over a small programmable range of frequencies centered on F0 (the VCO frequency), obtaining minimum electromagnetic emissions. This method replaces all the other traditional methods of E.M.I. reduction, such as filtering, ferrite beads, chokes, adding power layers and ground planes to PCBs, metal shielding and so on. This gives the customer appreciable cost savings. In sleep mode the SoC runs with the PLL disabled so the available frequency is 24 MHz or a sub-multiple (/2, /4, /8).
Note:
1 2
This frequency is based on the PLL1. This frequency is based on the PLL2.
24/66
SPEAR-09-B042
Main blocks
8.3
8.3.1
Main oscillator
Crystal connection
Figure 3.
Crystal connection
Xi 24 MH z Xo
33 pF
33 pF
VDD2V5
8.3.2
Crystal equivalent model
Figure 4. Crystal equivalent model
Xi Co Xo
Cm Cl1
Rm
Lm Cl2 VDD2V5
Note:
Co is the parasitic capacitance of the crystal package Cl1 and Cl2 are the capacitance on each resonator PAD Table 8. Equivalent values
Supplier Epson (E31821) Raltron (M3000) KSS (KSS3KF) Rm (Ohms) 9.3 9.6 5 Lm (mH) 5.9 2.6 3.2 Cm (fF) 4.8 10.8 8.7 Co (pF) 1.7 3.5 2.7 Q (K) 120 45 121
25/66
Main blocks
SPEAR-09-B042
8.4
8.4.1
RTC oscillator
Crystal connection
Figure 5. Crystal connection
Xi 32.768 kHz Xo
27 pF
27 pF
GND
8.4.2
Crystal equivalent model
Figure 6. Crystal equivalent model
Xi Co Xo
Cm Cl1
Rm
Lm Cl2
GND
Note:
Co is the parasitic capacitance of the crystal package Cl1 and Cl2 are the capacitance on each resonator PAD Table 9. Equivalent values
Supplier Ecliptek Rm (KOhms) <65 Lm (mH) 10 Cm (fF) 1.9 Co (pF) 0.85
26/66
SPEAR-09-B042
Main blocks
8.5
Ethernet controller
The Ethernet MAC controller provides the following features:

Compliant with the IEEE 802.3-2002 standard MII interface to the external PHY Supports 10/100 Mbps data transfer rates Local FIFO available (4 Kbyte RX, 2 Kbyte TX) Supports both half-duplex and full-duplex operation. In half-duplex operation, CSMA/CD protocol is provided for, as well as packet bursting and frame extension at 100 Mbps Programmable frame length to support both standard and jumbo ethernet frames with size up to 16 Kbyte A variety of flexible addresses filtering modes are supported A set of control and status registers (CSRs) to control GMAC core operation Native DMA with single-channel transmit and receive engines, providing 32/64/128-bit data transfers DMA implements dual-buffer (ring) or linked-list (chained) descriptor chaining An AHB slave acting as programming interface to access all CSRs, for both DMA and GMAC core subsystems An AHB master for data transfer to system memory 32-bit AHB master bus width, supporting 32, 64, and 128-bit wide data transactions

8.6
USB2 host controller
SPEAr BASIC has two fully independent USB 2.0 hosts and each one is constituted with 5 major blocks:

EHCI capable of managing high-speed transfers (HS mode, 480 Mbps) OHCI that manages the full and the low speed transfers (12 and 1.5 Mbps) Local 2-Kbyte FIFO Local DMA Integrated USB2 transceiver (PHY)
Both hosts can manage an external power switch, providing a control line to enable or disable the power, and an input line to sense any over-current condition detected by the external switch. One host controller at time can perform high speed transfer.
27/66
Main blocks
SPEAR-09-B042
8.7
USB2 device controller
The USB2 device controller provides the following features:

Supports the 480 Mbps high-speed mode (HS) for USB 2.0, as well as the 12 Mbps full-speed (FS) and the low-speed (LS modes) for USB 1.1 Supports 16 physical endpoints and configurations to achieve logical endpoints Integrated USB transceiver (PHY) Local FIFO having size of 4 Kbyte shared among all the endpoints DMA mode and slave-only mode are supported In DMA mode, the UDC supports descriptor-based memory structures in application memory In both modes, an AHB slave is provided by UDC-AHB, acting as programming interface to access to memory-mapped control and status registers (CSRs) An AHB master for data transfer to system memory is provided, supporting 8, 16, and 32-bit wide data transactions on the AHB bus A USB plug detect (UPD) which detects the connection of a cable Endpoint assignments
EP0 EP1 EP3 EP5 EP7 EP9 EP11 EP13 EP15 EP2 EP4 EP6 EP8 EP10 EP12 EP14 Software configurable to: - Bulk out - Interrupt out - Isochronous Software configurable to: - Bulk in - Interrupt in - Isochronous Control (IN/OUT).
Table 10.
8.8
32-Kbyte boot ROM
The code contained in this ROM is executed at the boot time. It initializes the system and can then boot from the serial Flash trough the SMI or from the USB device interface. To use the latter possibility a suitable driver should be installed on the host platform.
28/66
SPEAR-09-B042
Main blocks
8.9
Serial memory interface
The main features of SMI are listed below:
supports the following SPI-compatible Flash and EEPROM devices: - - - - - STMicroelectronics M25Pxxx, M45Pxxx STMicroelectronics M95xxx, except M95040, M95020 and M95010 ATMEL AT25Fxx YMC Y25Fxx SST SST25LFxx

acts always as a SPI master and up to 2 SPI slave memory devices are supported (through as many chip select signals), with up to 16 MB address space each the SMI clock signal (SMICLK) is generated by SMI (and input to all slaves) using a clock provided by the AHB bus SMICLK can be up to 50 MHz in fast read mode (or 20 MHz in normal mode). It can be controlled by 7 programmable bits.
8.10
JPEG (codec)
The main features of the JPEG codec are:

compliance with the baseline JPEG standard (ISO/IEC 10918-1) single-clock per pixel encoding/decoding support for up to four channels of component color 8-bit/channel pixel depths programmable quantization tables (up to four) programmable Huffman tables (two AC and two DC) programmable minimum coded unit (MCU) configurable JPEG headers processing support for restart marker insertion use of two DMA channels and of two 8 x 32-bits FIFO's (local to the JPEG) for efficient transferring and buffering of encoded/decoded data from/to the codec core.
29/66
Main blocks
SPEAR-09-B042
8.11
Cryptographic co-processor (C3)
SPEAr BASIC has an hardware cryptographic co-processor with the following features:
Supported cryptographic algorithms: - - - Advanced encryption standard (AES) cipher in ECB, CBC, CTR modes. Data encryption standard (DES) cipher in ECB and CBC modes. SHA-1, HMAC-SHA-1, MD5, HMAC-MD5 digests.

Instruction driven DMA based programmable engine. AHB master port for data access from/to system memory. AHB slave port for co-processor register accesses and initial engine-setup. The co-processor is fully autonomous (DMA input reading, cryptographic operation execution, DMA output writing) after being set up by the host processor. The co-processor executes programs written by the host in memory, it can execute an unlimited list of programs. The co-processor supports hardware chaining of cryptographic blocks for optimized execution of data-flow requiring multiple algorithms processing over the same set of data (for example encryption + hashing on the fly).
8.12
Low jitter PLL
Within the USB Hosts and device a local low jitter PLL is provided to meet the USB2.0 specification requirements.
8.13
Main PLL
Two PLLs are provided so that the external memory bus can run at a different frequency to the internal AHB. To reduce the system emission both the PLL are offering four operational modes:

Normal mode Fractional mode Double side dithering mode Single side dithering mode
30/66
SPEAR-09-B042
Main blocks
8.13.1
PLL block diagram
Figure 7. PLL block diagram
Input Clock
Phase Comparator PRE Divider VCO Post Divider Output clock
Feedback Divider
8.13.2
Normal mode
In this mode, an 8-bit feedback divider is used. The PLL output frequency is always a multiple of the input frequency.
8.13.3
Fractional mode
In this mode, a 16-bit feedback divider and a more sophisticated control logic is used. The output frequency can have any value.
8.13.4
Double side dithering mode
This mode is based on the fractional mode. Frequency modulation (triangular shape) is applied to reduce the EMI. For example, if the fundamental frequency is 300 MHz and the modulation is set to 5% the output frequency varies from 285 MHz to 315 MHz.
8.13.5
Single side dithering mode
This mode is similar to the double side dithering mode, but it takes the fundamental frequency as the maximum value allowing a simplified calculation of all the system frequencies (DDR timing). For example, setting the fundamental frequency to 300 MHz and the modulation set to 5%, the output frequency varies from 270 MHz to 300 MHz.
31/66
Main blocks
SPEAR-09-B042
8.14
ADC controller
The ADC controller provides the following features:

Successive approximation ADC 10-bit resolution @ 1 Msps Hardware supporting up to 13.5 bits resolution at 8 KSPS by oversampling and accumulation Eight analog input (AIN) channels, ranging from 0 to 2.5 V INL 1 LSB, DNL 1 LSB Programmable conversion speed, (min. conversion time is 1 s) Programmable average results from 1 (No average) up to 128 Programmable auto scan for all the eight channels.
8.15
UART
One SW flow control UART (one of these having IrDA features)

Separate 16x8 (16 location deep x 8-bit wide) transmit and 16x12 receive FIFOs to reduce CPU interrupts Speed up to 460.8 Kbps.
8.16
IrDA
IrDA compliant serial link (FIR/MIR/SIR) from 9.6Kbps to 4 Mbps speed-rate.
8.17
SPI
An SPI interface is provided. The main features are:

Maximum speed of 50 Mbps Programmable choice of interface operation: - - - SPI, Microwire TI synchronous serial

Programmable data frame size from 4 to 16-bit. Master and slave mode capability. A connection to general purpose DMA is provided to reduce the CPU load.
32/66
SPEAR-09-B042
Main blocks
8.18
I2 C
An I2C interface is provided. The main features are:

I2C v2.0 compatible. Supports three modes: - - - Standard (100 Kbps) Fast (400 Kbps) High-speed (3.4 Mbps)

Master and slave mode configuration possible. Bulk data transfer capability. Connection with general purpose DMA is provided to reduce the CPU load.
8.19
DDR memory controller
SPEAr BASIC-STD integrates a high performance multi-channel memory controller that supports low power DDR and DDR2 double data rate memory devices. The multi-port architecture ensures that memory is shared efficiently among different high-bandwidth client modules.
8.20
8.20.1
Reconfigurable logic array
Overview
The configurable logic array consists of an embedded macro where a custom project can be implemented by mapping up to 300 K equivalent gates. This macro is interfaced with the rest of the system by some AHB bus, some memory channels and it has a direct connection to the ARM processor internal bus. In this way is also possible to customize the TCM memory or add a coprocessor using this macro. Table 11 shows the memory cuts are available to this block: Table 11.
Instances 1 2 8 2 4 8 2 4
Reconfigurable logic array interfaces
Type dual port dual port dual port dual port dual port dual port dual port single port Word 2048 96 128 2048 1024 2048 1024 512 Bit 32 128 8 32 32 8 32 32 Notes One port hard-wired to the AMBA bus for NAND boot phase Typically used for hardware accelerators Typically used for hardware accelerators Generic dual port memory cuts Generic dual port memory cuts Generic dual port memory cuts Generic dual port memory cuts Generic single port memory cuts
The array is also connected to 102 I/O (3.3 V capable/tolerant and 4 mA sink/source).
33/66
Main blocks The following clocks can be used in the integrated logic:

SPEAR-09-B042
Up to 5 external clocks provided through the device pins 4 separate clocks from the integrated frequency synthesizer PLL1 frequency PLL2 frequency 48 MHz (USB PLL) 24 MHz (Main oscillator) 32.768 KHz (RTC oscillator) APB clock (programmable) AHB clock (programmable) Any of the GPIOs
8.20.2
Custom project development
The flow to develop a custom project to embed in the SPEAr BASIC device is similar to the standard ASIC flow. The configurable logic is an empty module of the whole system-on-chip. The pinout and the maximum number of gates are fixed. The HDL project is synthesized using a dedicated library and post synthesis simulation is possible to verify the custom net-list. The verification procedure, after place and route phase, is the same as standard ASIC back end flow.
8.20.3
Customization process
The layers used for the IP configuration range from 2 metal layers with 1 via, up to 4 metal layers with 4 vias. Diffusion and remaining metal/vias are invariant across multiple custom designs. Density and performance scale with the number of customization layers. The configurable logic included in the SPEAr BASIC chip is a 300 Kgate equivalent array when customized using 4 metals - 4 vias.
34/66
SPEAR-09-B042
Standard customization
9
9.1
Standard customization
Features
The following functionalities are implemented in the SPEAr BASIC standard customization:

8/16-bits parallel Flash interface allowing connection of NOR or NAND Flash Possible NAND Flash booting Up to 1024*768, 24-bits per pixel LCD controller, TFT and STN panels SDIO interface supporting SPI, SD1, SD4 and SD8 mode with card detect, write protect, LED control and interrupt capability. 9*9 keyboard controller 8 GPIOs with interrupt capability Up to 1024 timeslots, master or slave TDM. Any input timeslot can be switched to any output timeslot, and/or can be buffered for computation (up to 16 channels of 1 to 4 timeslots buffered during 30 ms). Up to 16 buffers can be played in output timeslots. 18 GPIOs for direct (up to 8) CODEC and/or (up to 8) SLIC management I2S interface based on Philips protocol (data delayed by one bit only) allowing up to 64 ms data-buffer both for left and right channels. The I2S interface uses the same memory than SDIO interface and usage is exclusive. Second-order noise shaper with *32 to *256 over-sampling for binary or two's complement data. Outputs are complementary with 4 mA capability. DAC uses the same memory then TDM bufferization leading to some limitations to work simultaneously. Camera interface ITU-601 with external or embedded synchronization (ITU-656 or CSI2). Picture limit is given by the line length that must be stored in a 2048*32 buffer.

35/66
Standard customization
SPEAR-09-B042
9.2
Figure 8.
Block diagram
SPEAr BASIC standard block diagram
SPEArBASIC
Communication
CPU
ARM Subsystem
ARM926EJ-S
Cache: 16kI 16kD
GPIO
Coprocessor i/f Tcm-I/D I D
Int. Ctr
Tmr APB
SDIO CTRL
P A D I/ F
TDM
CODEC/SLIC
I
6
1
5-23
H
G1-2
34
M2
I2S I/F 1 bit DAC
CAMERA I/F
2
Multi-layer Interconnection Matrix
6-78 1-123 2-12(4) 6 3-12 3 4 4-12 7 8 7 4
M1
L
M0
PARALLEL FLASH I/F
M
P
Q
SDRAM
Controller -DDR2 -DDRmob
CFG
F
D
C
B
A
Uart
Human Interface
LCD CTRL E
Mtx-7 Mtx-8
SPI
JPEG (Codec) RAM (8KB)
Tmr 1-2
WDG RTC
I2C
KEYBOARD CTRL
C3
ROM (32KB) Flash Serial
USB2.0 Dev USB2.0
hub2host
M4
Gpio
ADC
IrDA
Sys Ctr Misc
Low Speed Subsystem
Applic Subsys.
Basic Subsystem
HS Subsystem
Common Subsystems
36/66
M3
DMA (8-chan.)
Eth. Mac
SPEAR-09-B042
Standard customization
9.3
Standard customization memory map
Table 12. RAS_M - communication subsystem
End address 0x4FFF.FFFF 0x5000.FFFF 0x5001_0FFF 0x5003_7FFF 0x5004_0FFF 0x5005_0FFF 0x5005_1FFF 0x6FFF.FFFF 0x7FFF.FFFF 0x83FF.FFFF 0x87FF.FFFF 0x8BFF.FFFF 0x8FFF.FFFF 0x90FF.FFFF 0x91FF.FFFF 0x92FF.FFFF 0x93FF.FFFF 0x98FF.FFFF 0x9FFF.FFFF 0xA8FF.FFFF 0xAFFF.FFFF 0xBFFF.FFFF Peripheral C3 Telecom register TDM TDM TDM I2S I2S CLCD SDIO Static memory controller Static memory controller Static memory controller Static memory controller Static memory controller Static memory controller Static memory controller Static memory controller Static memory controller Registers Keyboard GPIO Reserved NAND Bank0 NAND Bank1 NAND Bank2 NAND Bank3 NOR Bank0 NOR Bank1 NOR Bank2 NOR Bank3 Register Action memory Buffer memory Sync memory Notes Bus AHB AHB AHB AHB AHB AHB AHB AHB AHB AHB AHB AHB AHB AHB AHB AHB AHB AHB AHB APB APB Start address 0x4000.0000 0x5000.0000 0x5001_0000 0x5003_0000 0x5004_0000 0x5005_0000 0x5005_1000 0x6000.0000 0x7000.0000 0x8000.0000 0x8400.0000 0x8800.0000 0x8C00.0000 0x9000.0000 0x9100.0000 0x9200.0000 0x9300.0000 0x9400.0000 0x9900.0000 0xA000.0000 0xA900.0000 0xB000.0000
I2S memory bank 1 I2S memory bank 2
37/66
Standard customization
SPEAR-09-B042
9.4
Table 13.
PL_CLK 0 1 2 3
PL_GPIO sharing scheme
PL_CLK mapping
Mode 1 25 MHz TDM_CLK TDM_nCLK TDM_CLK2K Mode 2 25 MHz TDM_CLK TDM_nCLK TDM_CLK2K Mode 3 25 MHz TDM_CLK TDM_nCLK TDM_CLK2K Mode 4 25 MHz TDM_CLK TDM_nCLK TDM_CLK2K Mode 5 25 MHz TDM_CLK TDM_nCLK TDM_CLK2K Mode 6 25 MHz TDM_CLK TDM_nCLK TDM_CLK2K
Table 14.
PL_GPIO 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73
PL_GPIO mapping
Mode 1 FSMC_nCS1 FSMC_D0 FSMC_D1 FSMC_D2 FSMC_D3 FSMC_D4 FSMC_D5 FSMC_D6 FSMC_D7 FSMC_D8 FSMC_D9 FSMC_D10 FSMC_D11 FSMC_D12 FSMC_D13 FSMC_D14 FSMC_D15 CLCD_D0 CLCD_D1 CLCD_D2 CLCD_D3 CLCD_D4 CLCD_D5 CLCD_D6 CLCD_D7 Mode 2 not used KBD_C0 KBD_C1 KBD_C2 KBD_C3 KBD_C4 KBD_C5 KBD_C6 KBD_C7 KBD_C8 KBD_R0 KBD_R1 KBD_R2 KBD_R3 KBD_R4 KBD_R5 KBD_R6 not used not used not used not used not used not used not used not used Mode 3 not used KBD_C0 KBD_C1 KBD_C2 KBD_C3 KBD_C4 KBD_C5 KBD_C6 KBD_C7 KBD_C8 KBD_R0 KBD_R1 KBD_R2 KBD_R3 KBD_R4 KBD_R5 KBD_R6 not used not used not used not used not used not used not used not used Mode 4 not used KBD_C0 KBD_C1 KBD_C2 KBD_C3 KBD_C4 KBD_C5 KBD_C6 KBD_C7 KBD_C8 KBD_R0 KBD_R1 KBD_R2 KBD_R3 KBD_R4 KBD_R5 KBD_R6 CLCD_D0 CLCD_D1 CLCD_D2 CLCD_D3 CLCD_D4 CLCD_D5 CLCD_D6 CLCD_D7 Mode 5 FSMC_nCS1 FSMC_D0 FSMC_D1 FSMC_D2 FSMC_D3 FSMC_D4 FSMC_D5 FSMC_D6 FSMC_D7 GPIO_8_0 GPIO_8_1 GPIO_8_2 GPIO_8_3 GPIO_8_4 GPIO_8_5 GPIO_8_6 GPIO_8_7 FSMC_A0 FSMC_A1 FSMC_A2 FSMC_A3 FSMC_A4 FSMC_A5 FSMC_A6 FSMC_A7 Mode 6 not used KBD_C0 KBD_C1 KBD_C2 KBD_C3 KBD_C4 DIO_D0 DIO_D1 DIO_D2 DIO_D3 KBD_R0 KBD_R1 KBD_R2 KBD_R3 KBD_R4 KBD_R5 KBD_R6 CLCD_D0 CLCD_D1 CLCD_D2 CLCD_D3 CLCD_D4 CLCD_D5 CLCD_D6 CLCD_D7
38/66
SPEAR-09-B042 Table 14.
PL_GPIO 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38
Standard customization
PL_GPIO mapping (continued)
Mode 1 CLCD_D8 CLCD_D9 CLCD_D10 CLCD_D11 CLCD_D12 CLCD_D13 CLCD_D14 CLCD_D15 CLCD_D16 CLCD_D17 CLCD_D18 CLCD_D19 CLCD_D20 CLCD_D21 FSMC_CL FSMC_AL FSMC_nW FSMC_nR CLCD_AC CLCD_CP CLCD_FP CLCD_LP CLCD_LE CLCD_PWR CLCD_D22 CLCD_D23 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0 TDM_SYNC1 Mode 2 IT_D0 IT_D1 IT_D2 IT_D3 IT_D4 IT_D5 IT_D6 IT_D7 IT_SPI_I2C4 IT_SPI_I2C5 IT_SPI_I2C6 IT_SPI_I2C7 TDM_SYNC4 TDM_SYNC5 TDM_SYNC6 TDM_SYNC7 KBD_R7 KBD_R8 GPIO_10_9 GPIO_10_8 GPIO_10_7 GPIO_10_6 GPIO_10_5 GPIO_10_4 IT_SPI_I2C0 IT_SPI_I2C1 IT_SPI_I2C2 IT_SPI_I2C3 DAC_O0 DAC_O1 I2S_DIN I2S_LRCK I2S_CLK I2S_DOUT TDM_SYNC1 Mode 3 IT_D0 IT_D1 IT_D2 IT_D3 IT_D4 IT_D5 IT_D6 IT_D7 IT_SPI_I2C4 IT_SPI_I2C5 IT_SPI_I2C6 IT_SPI_I2C7 TDM_SYNC4 TDM_SYNC5 TDM_SYNC6 TDM_SYNC7 KBD_R7 KBD_R8 GPIO_10_9 GPIO_10_8 GPIO_10_7 GPIO_10_6 GPIO_10_5 GPIO_10_4 IT_SPI_I2C0 IT_SPI_I2C1 IT_SPI_I2C2 IT_SPI_I2C3 DAC_O0 DAC_O1 I2S_DIN I2S_LRCK I2S_CLK I2S_DOUT TDM_SYNC1 Mode 4 CLCD_D8 CLCD_D9 CLCD_D10 CLCD_D11 CLCD_D12 CLCD_D13 CLCD_D14 CLCD_D15 CLCD_D16 CLCD_D17 CLCD_D18 CLCD_D19 CLCD_D20 CLCD_D21 CLCD_D22 CLCD_D23 KBD_R7 KBD_R8 CLCD_AC CLCD_CP CLCD_FP CLCD_LP CLCD_LE CLCD_PWR IT_SPI_I2C0 IT_SPI_I2C1 IT_SPI_I2C2 IT_SPI_I2C3 DAC_O0 DAC_O1 I2S_DIN I2S_LRCK I2S_CLK I2S_DOUT TDM_SYNC1 Mode 5 IT_D0 IT_D1 IT_D2 IT_D3 IT_D4 IT_D5 IT_D6 IT_D7 IT_SPI_I2C4 IT_SPI_I2C5 IT_SPI_I2C6 IT_SPI_I2C7 TDM_SYNC4 TDM_SYNC5 FSMC_CL FSMC_AL FSMC_nW FSMC_nR GPIO_10_9 GPIO_10_8 GPIO_10_7 GPIO_10_6 GPIO_10_5 GPIO_10_4 IT_SPI_I2C0 IT_SPI_I2C1 IT_SPI_I2C2 IT_SPI_I2C3 DAC_O0 DAC_O1 I2S_DIN I2S_LRCK I2S_CLK I2S_DOUT TDM_SYNC1 Mode 6 CLCD_D8 CLCD_D9 CLCD_D10 CLCD_D11 CLCD_D12 CLCD_D13 CLCD_D14 CLCD_D15 CLCD_D16 CLCD_D17 CLCD_D18 CLCD_D19 CLCD_D20 CLCD_D21 CLCD_D22 CLCD_D23 DIO_HSYNC DIO_VSYNC CLCD_AC CLCD_CP CLCD_FP CLCD_LP CLCD_LE CLCD_PWR DIO_D4 DIO_D5 DIO_D6 DIO_D7 DAC_O0 DAC_O1 I2S_DIN I2S_LRCK I2S_CLK I2S_DOUT TDM_SYNC1
39/66
Standard customization Table 14.
PL_GPIO 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3
SPEAR-09-B042
PL_GPIO mapping (continued)
Mode 1 TDM_DOUT TDM_SYNC0 TDM_CLK TDM_DIN SD_CMD SD_CLK SD_D0 SD_D1 SD_D2 SD_CD_D3 MII_TXCLK MII_TXD0 MII_TXD1 MII_TXD2 MII_TXD2 MII_TXEN MII_TXER MII_RXCLK MII_RXDV MII_RXER MII_RXD0 MII_RXD1 MII_RXD2 MII_RXD3 MII_COL MII_CRS MII_MDC MII_MDIO SSP_MOSI SSP_CLK SSP_SS0 SSP_MISO I2C_SDA I2C_SCL UART_RX Mode 2 TDM_DOUT TDM_SYNC0 TDM_CLK TDM_DIN SD_CMD SD_CLK SD_D0 SD_D1 SD_D2 SD_CD_D3 MII_TXCLK MII_TXD0 MII_TXD1 MII_TXD2 MII_TXD2 MII_TXEN MII_TXER MII_RXCLK MII_RXDV MII_RXER MII_RXD0 MII_RXD1 MII_RXD2 MII_RXD3 MII_COL MII_CRS MII_MDC MII_MDIO SSP_MOSI SSP_CLK SSP_SS0 SSP_MISO I2C_SDA I2C_SCL UART_RX Mode 3 TDM_DOUT TDM_SYNC0 TDM_CLK TDM_DIN SD_CMD SD_CLK SD_D0 SD_D1 SD_D2 SD_CD_D3 SD_D4 SD_D5 SD_D6 SD_D7 GPIO_8_4 GPIO_8_5 GPIO_8_6 GPIO_8_7 GPIO_10_0 GPIO_10_1 GPIO_10_2 GPIO_10_3 GPIO_10_4 GPIO_10_5 GPIO_10_6 GPIO_10_7 GPIO_10_8 GPIO_10_9 SSP_MOSI SSP_CLK SSP_SS0 SSP_MISO I2C_SDA I2C_SCL UART_RX Mode 4 TDM_DOUT TDM_SYNC0 TDM_CLK TDM_DIN SD_CMD SD_CLK SD_D0 SD_D1 SD_D2 SD_CD_D3 SD_D4 SD_D5 SD_D6 SD_D7 GPIO_8_4 GPIO_8_5 GPIO_8_6 GPIO_8_7 GPIO_10_0 GPIO_10_1 GPIO_10_2 GPIO_10_3 GPIO_10_4 GPIO_10_5 GPIO_10_6 GPIO_10_7 GPIO_10_8 GPIO_10_9 SSP_MOSI SSP_CLK SSP_SS0 SSP_MISO I2C_SDA I2C_SCL UART_RX Mode 5 TDM_DOUT TDM_SYNC0 TDM_CLK TDM_DIN SD_CMD SD_CLK SD_D0 SD_D1 SD_D2 SD_CD_D3 GPIO_8_0 GPIO_8_1 GPIO_8_2 GPIO_8_3 GPIO_8_4 GPIO_8_5 GPIO_8_6 GPIO_8_7 GPIO_10_0 GPIO_10_1 GPIO_10_2 GPIO_10_3 GPIO_10_4 GPIO_10_5 GPIO_10_6 GPIO_10_7 GPIO_10_8 GPIO_10_9 SSP_MOSI SSP_CLK SSP_SS0 SSP_MISO I2C_SDA I2C_SCL UART_RX Mode 6 TDM_DOUT TDM_SYNC0 TDM_CLK TDM_DIN SD_CMD SD_CLK SD_D0 SD_D1 SD_D2 SD_CD_D3 SD_D4 SD_D5 SD_D6 SD_D7 GPIO_8_4 GPIO_8_5 DIO_D8 DIO_D9 DIO_D10 DIO_D11 DIO_D12 DIO_D13 GPIO_10_4 GPIO_10_5 GPIO_10_6 GPIO_10_7 GPIO_10_8 GPIO_10_9 SSP_MOSI SSP_CLK SSP_SS0 SSP_MISO I2C_SDA I2C_SCL UART_RX
40/66
SPEAR-09-B042 Table 14.
PL_GPIO 2 1 0
Standard customization
PL_GPIO mapping (continued)
Mode 1 UART_TX FSMC_nCS2 FSMC_RnB Mode 2 UART_TX IRDA_RX IRDA_TX Mode 3 UART_TX IRDA_RX IRDA_TX Mode 4 UART_TX IRDA_RX IRDA_TX Mode 5 UART_TX IRDA_RX IRDA_TX Mode 6 UART_TX IRDA_RX IRDA_TX
9.4.1
LCD controller
Main features

Compliance to the AMBA specification (Rev 2.0) onwards for easy integration into SoC implementation Dual 16-deep programmable 32-bit wide FIFOs for buffering incoming display data Supports single and dual panel mono super twisted nematic (STN) displays with 4 or 8bit interfaces Supports single and dual-panel color and monochrome STN displays Supports thin film transistor (TFT) color displays Resolution programmable up to 1024 x 768 15 gray-level mono, 3375 color STN, and 32 K color TFT support 1, 2, or 4 bits per pixel (bpp) palettized displays for mono STN 1, 2, 4 or 8 bpp palettized color displays for color STN and TFT 16 bpp true-color non-palettized, for color STN and TFT 24 bpp true-color non-palettized, for color TFT Programmable timing for different display panels 256 entry, 16-bit palette RAM, arranged as a 128 x 32-bit RAM physically frame, line and pixel clock signals AC bias signal for STN and data enable signal for TFT panels patented gray scale algorithm Supports little and big-endian as well as WinCE data formats.
41/66
Standard customization
SPEAR-09-B042
Programmable parameters

Horizontal front and back porch Horizontal synchronization pulse width Number of pixels per line Vertical front and back porch Vertical synchronization pulse width Number of lines per panel Number of panel clocks per line Signal polarity, active high or low AC panel bias Panel clock frequency Bits per pixel Display type, STN mono/color or TFT STN 4 or 8-bit interface mode STN dual or single panel mode WinCE mode Interrupt generation event.
LCD panel resolutions

320x200, 320x240 640x200, 640x240, 640x480 800x600 1024x768.
Types of LCD panel supported

Active matrix TFT panels with up to 24-bit bus interface Single-panel monochrome STN panels (4-bit and 8-bit bus interface) Dual-panel monochrome STN panels (4-bit and 8-bit bus interface per panel)
9.4.2
SD card controller
This controller conforms to the SD host controller standard specification version 2.0. It handles SDIO/SD protocol at transmission level, packing data, adding cyclic redundancy check (CRC), start/end bit, and checking for transaction format correctness. The SD card controller provides programmed IO method and DMA data transfer method. In the programmed IO method, the ARM processor transfers data using the buffer data port register. Host controller support for DMA can be determined by checking the DMA support in the capabilities register. DMA allows a peripheral to read or write memory without the intervention from the CPU. The system address register points to the first data address, and data is then accessed sequentially from that address.
42/66
SPEAR-09-B042
Standard customization
Key features

Meets SD host controller standard specification version 2.0 Meets SDIO card specification version 2.0 Meets SD memory card specification draft version 2.0 Meets SD memory card security specification version 1.01 Meets MMC specification version 3.31 and 4.2 Supports both DMA and Non-DMA mode of operation Supports MMC plus and MMC mobile Card detection (insertion/removal) Password protection of cards Host clock rate variable between 0 and 52 MHz Supports 1-bit, 4-bit and 8-bit SD modes and SPI mode Supports MultiMediaCard interrupt mode Allows card to interrupt host in 1-bit, 4-bit, 8-bit SD modes and SPI mode. Up to 100 Mbit/s data rate using 4 parallel data lines (sd4-bit mode) Up to 416 Mbit/s data rate using 8-bit parallel data lines (sd8-bit mode) Cyclic redundancy check CRC7 for command and CRC16 for data integrity Designed to work with I/O cards, read-only cards and read/write cards Error correction code (ECC) support for MMC4.2 cards Supports read wait control, suspend/resume operation Supports FIFO overrun and Under run condition by stopping the SD clock
9.4.3
Flexible static memory controller
Main features of the FSMC are listed below:

Provides an interface between AHB system bus and external parallel memory devices. Interfaces static memory-mapped devices including RAM, ROM and synchronous burst Flash. For SRAM, ROM and Flash 8/16-bit wide, external memory and data paths are provided. FSMC performs only one access at a time and only one external device is accessed. Little-endian and big-endian memory architectures. AHB burst transfer handling to reduce access time to external devices. Supplies an independent configuration for each memory bank. Programmable timings to support a wide range of devices. - - - Programmable wait states (up to 31). Programmable bus turnaround cycles (up to 15). Programmable output enable and write enable delays (up to 15).

Independent chip select control for each memory bank. Shares the address bus and the data bus with all the external peripherals. Only chips selects are unique for each peripheral. External asynchronous wait control. Configurable size at reset for boot memory bank using external control pins.
43/66
Standard customization
SPEAR-09-B042
9.4.4
Keyboard interface
The keyboard interface uses 18 pins. These pins can be either used as standard GPIOs or to drive a 9*9 keyboard (81 keys). The keyboard scan period can be adjusted between 10 ms and 80 ms. When in keyboard mode, pressing a key generates an interrupt when enabled through the IT_DMA block. Two successive scan must be validated with the same key pressed before a key press is detected. After detection, two "no key pressed" cycles must be observed before allowing a new keypress detection. Any new keypress event latches the data into the KBREG register and sets the interrupt bit, even if the previously pressed key has not been read and the interrupt register cleared. If several keys are pressed, only the first detected one is registered. The pressed key value can be read through in the KBREG register. The interrupt is cleared in the interrupt handler by clearing the STATUSREG register. Table 15 shows the KBREG values. Table 15. KBREG coding
COL8 ROW8 ROW7 ROW6 ROW5 ROW4 ROW3 ROW2 ROW1 ROW0 80 71 62 53 44 35 26 17 8 COL7 79 70 61 52 43 34 25 16 7 COL6 78 69 60 51 42 33 24 15 6 COL5 77 68 59 50 41 32 23 14 5 COL4 76 67 58 49 40 31 22 13 4 COL3 75 66 57 48 39 30 21 12 3 COL2 74 65 56 47 38 29 20 11 2 COL1 73 64 55 46 37 28 19 10 1 COL0 72 63 54 45 36 27 18 9 0
44/66
SPEAR-09-B042
Standard customization
9.4.5
TDM interface
The TDM block implements time division multiplexing with up to 1024 time slots. It uses 11 pins. Table 16. TDM block pins
Description Dedicated frame synchro for CODECs without timeslot recognition TDM clock TDM input TDM output (tri-state)
Pins SYNC7-0 CLK DIN DOUT
The TDM interface can be the master or a slave of the CLK or SYNC0 signals. It is a master when generating SYNC1 to SYNC7, which are seven additional sync signals for devices that do not recognize time slots, or which need a special synchronization waveform. DIN receives the data. DOUT transmits the data. This line can be high impedance on timeslot not used. Timeslots can be used in two ways: switching or bufferization. The information about timeslot usage is written in a 1024*32 memory, termed the 'action memory'. Switching and bufferization can be used concurrently for different timeslots on the same TDM. The only limitation is that an output timeslot can not be switched and bufferized at the same time.
Clock signal: device can be master or slave.
In master mode the CLK signal can be generated from different sources:

ClkR_Osci1: MCLK clock from external MCLK crystal ClkR_Gpio4: external oscillator from PL_CLK4 pin. ClkR_Synt_3: From frequency synthetiser (source is AHB frequency).
All three signals can be divided by the TDM_CLK block in order to obtain the correct frequency. In slave mode, the clock is received on the TDM_CLK pin. The clock used internally is present on the PL_CLK pins.
Sync signal: device can be master or slave.
SYNC0 can be master or slave. SYNC1 to SYNC7 are additional generated synchro dedicated to devices that does not recognize the timeslots orwhich need special waveforms. SYNC1 to SYNC3 are built from SYNC0. Sync0 in slave and master mode and Sync1 to Sync3 support several pre-defined wave shapes. SYNC4 to SYNC7 are generated using the SYNC memory (1024*32) where each bit is set to 0 or 1 to generate the right pattern on the pin during a frame.
45/66
Standard customization The following pre-defined shapes are available:

SPEAR-09-B042
short frame narrow-band delayed and non delayed short frame wide-band delayed and non delayed I2S or serial aligned long frame. Pre-defined frame sync shapes (slave or master)
Figure 9.
SYN4 to SYNC7 are generated from the sync memory. The sync memory has 1024 words per four bytes. Byte0 of each location is used to generate SYNC4. Byte1 for SYNC5, Byte2 for SYNC6 and Byte3 for SYNC7. The MSB of each byte is issued first. The LSB is issued the last. This covers the 1024 possible time slots for the four sync signals.
TDM timeslot switching
Any of the output time slots can receive any input timeslot of the previous frame. The connection memory is part of the action memory, informing which timeslot has to be output. The data memory contains two banks. One storing the actual frame from the DIN pin (if switching has been validated for this timeslot in the action memory), the other outputting the data from the previous frame on DOUT (if the switching has been validated and high impedance bit is not set in the action memory). The delay between out_TSy receiving IN_TSx for a TDM containing N+1 timeslots is constant: Delay(TS)= y + (N+1- x) with x and y between 0 and N. Figure 10 shows an example with N+1 = 32.
46/66
SPEAR-09-B042 Figure 10. Switching constant delay between TSy and TSx
Standard customization
Note:
The last timeslot of a frame can be played in the first timeslot of the next frame.
TDM timeslot bufferization
Bufferization means that data from DIN is stored in an input buffer and data from an output buffer is played on DOUT. When the number of sample stored/played reaches the buffer size, the processor is interrupted in order to read the input buffer and prepare a new output buffer (or a DMA request is raised). Up to 16 channels can be stored or played. It is not mandatory that an input-bufferized channel is also output bufferized (it can be switched or high impedance). Channels can contain one byte (timeslot) when the data is companded, two bytes when the data is either stereo companded or mono linear (16-bits) or four bytes when the data is stereo linear. The timeslots need not be successive, but must be byte aligned. When using 16 channels, 512 ms buffers can be used for stereo linear mode. Using 8, 4, 2 or 1 channel increases the buffer size to 1024, 2048, 4096 or 8192 ms (always for stereo linear mode). If data is on two bytes per frame, the values are doubled. If data is mono companded the data are multiplied by four. All the channels must have the same buffer size. Thus if a vocoder for one channel requires 30 ms packets, and another channel requires 20 ms, a 10 ms buffer must be created, and DMA used to generate the voice packet in the DDR. Oherwise, if all the channels require the same packet size, the data can be directly computed inside the buffer and do not need to be transferred to DDR. The only constraint is to maintain operation the real time.
47/66
Standard customization Figure 11. Type of data carried by the TDM
SPEAR-09-B042
frame Half frame
Narrowband companded Narrowband linear Wideband companded Wideband linear
Two banks are used to exchange the samples with the processor. The number of sample stored in a buffer is programmable. When the TDM reads and stores the data in one bank, the processor is owner of the other bank, allowing it to read the received data before writing a new buffer to be played. The processor can compute the data directly in the buffer. When the two banks are switched, this can generate either an interrupt or a DMA transfer. When this event occurs, if the processor has not finished to compute the previous input buffer and to store the new output buffer, the computation is out of real time. The software must to check that operations are done in real time. To avoid synchronization issues, the MSB of the buffer address can be managed by the device itself, the processor always accessing the right bank at addresses 0x0000 to 0x3FFF.
9.4.6
I2S interface
The I2S block is very similar to TDM block, but the frame sync is limited to Philips I2S definition. The I2S block can be master or slave for the clock. The I2S block can be master or slave for the sync signal. Bufferization is limited to 1024 samples (512 left and 512 right samples representing 64 ms of voice). Data is stored always on 32-bits. Left and right channels are stored in two different buffers. Two banks are used to exchange data with the processor. The I2S interface is composed of 4 signals which are shown in Table 17.
48/66
SPEAR-09-B042 Table 17. I2S interface pins
Description
Standard customization
Pins I2S_LRCK I2S_CLK I2S_DIN I2S_DOUT

Left and right channels synchronization (master/slave) I2S clock (master/slave) I2S input I2S output (tri-state)
I2S_LRCK in master mode can be adjusted for duration of 8, 16 or 32-bits low or high. The data width can be smaller than I2S_LRCK width. I2S_DIN receives the data. Data can be 8, 16 or 32-bits wide, and is always stored as 32-bit words. A shift left operation to left-align the data is possible. DOUT transmits the data. Data can be 8, 16 or 32-bits, anyway data must be always stored in 32-bits wide in the buffer. A shift left operation is possible to left align the data. The DOUT line can be high impedance when out of the samples bits. CLK signal In master mode can be generated from different sources: - - - - ClkR_Osci1: MCLK clock from external MCLK crystal ClkR_Gpio4: external oscillator from PL_CLK4 pin. ClkR_Synt_2: from frequency synthesizer (source is AHB frequency), TDM_CLK: I2S and TDM interfaces use the same clock.
The three first signals can be divided by the I2S_CLK block in order to reach the correct frequency. In slave mode, the clock is received on the I2S_CLK pin (same pin used in master or slave mode). Two banks are used to exchange the samples with the processor. The number of sample stored in a buffer is programmable. When the I2S interface reads and stores the data in one bank, the processor is owner of the other bank, allowing it to read the received data before writing a buffer to be played. The processor can compute the data directly in the buffer. When the two banks are switched, this can generate an interrupt or DMA transfer. When this event occurs, if the processor has not finished computing the previous input buffer and storing the new output buffer, the computation is out of real time. The software must check that operations are done in real time. To avoid synchronization issues. The MSB of the buffers address can be managed by the device itself. The processor always accesses the right bank between addresses 0x0000 and 0xFFFF.
9.4.7
SPI_I2C cell
The SPI interface has only one slave select signal, SS0. The I2C interface does not allow control of several devices with the same address what is frequent for CODECs. This IP allows management extension of up to 8 SPI devices, or 8 I2C devices at the same address (total SPI+I2C devices=8).
49/66
Standard customization
SPEAR-09-B042
The SPI extension is made by generating three more slave select signals SS1, SS2 and SS3. The I2C extension is done by repeating the I2C_SCL signal if the considered pin is set active. Otherwise the pin remains low, so that the start condition is not met. Each of the 8 pins can reproduce either the SPI SS0 signal, or the I2C I2C_SCL signal. The selection is made through a register.
9.4.8
GPIO_IT cell
GPIO_IT is an 8-bit supervised input bus. It can be programmed to generate a change interrupt (ITch) when a change is detected on any of the eight bus signals. If it is important that the change persists for more than a determined time before an interrupt is generated, a 'persist' interrupt (ITp) can be programmed. The signal is latched twice, and the two latched signals are compared. If they are different, an ITch interrupt is generated if the line is programmed to generate a change interrupt (and it is not masked). The programmer can then read both the first and the second latch registers. The number of clocks before validating a persistent change is programmable. An ITp interrupt is generated if the line is programmed to generate a persist interrupt (and it is not masked). When the persistency counter reaches the persistence time, the data is latched and the programmer can read the latched data. This interface is principally intended for supervision of the hook detection of up to 8 SLICs. However it is also useful for switch debouncing and simple interrupt generation when a signal toggles. The GPIO_IT interface is clocked by the TDM clock.
9.4.9
One bit DAC
The one-bit DAC is a second-order noise shaper based on the TDM hardware. The action memory determines whether a new sample needs to be sent to the DAC during the next byte. Samples are read from the buffer memory. Input data must be 32-bits wide, either in 2's complement or binary form. Optionally, the order of the noise shaper can be set to 1.
Operation without using the TDM
DAC cell is capable of operating without using the TDM. In this case, the input data can be over sampled by the processor then over sampled by the DAC by a factor between 32 and 256. For example, 64 kHz over sampled data leads to a 2048 kHz output waveform when the DAC over sampling factor is set to 32.
Operation in conjunction with the TDM
When used in conjunction with the TDM, a bufferization channel must be reserved for the DAC. In this case the input sampling frequency must be either 8 kHz (standard TDM) or 16 kHz (when connecting wide-band CODECs for instance). The number of bits in a frame must be fixed between 32 and 256, leading to an over-sampling factor of 32 to 256. For example an 8 kHz input and a 256-bit frame generates a 2048 kHz output.
50/66
SPEAR-09-B042
Standard customization
DAC performances
Table 18. DAC performances
Min Typ 32 32 82 dB
(1)
Symbol Input bits oversampling S/N ratio THD dynamic
Max
256
72 dB (1) 80% of full scale
1. Measured on a 1 kHz sine wave *64 over sampled by the processor and *32 by the DAC.
9.4.10
ADC enhanced control
The ADC is a 10-bit, 8 channel cell described in Section 8.14. In order to synchronize the TDM or the DAC and the ADC, there is a mechanism allowing channel 0 to be controlled by the TDM clock. The ADC sampling rate can be adjusted from the sync frequency (generally 8 kHz), up to TDM CLK frequency. For example, if the SYNC signal is at 8 kHz and the CLK signal is at 2048, the ADC sampling can be requested every 2-bits, leading to an over sampling of 128. In this case the resolution of the ADC is increased to 13.5-bits.
9.4.11
Camera interface
The camera interface recieves data from a sensor in parallel mode (8 to 14-bits) by storing a full line in a buffer memory, then requesting a DMA transfer or interrupting the processor. When all the lines of a frame are transferred, a frame sync interrupt is generated. The camera interface accepts both hardware synchronization (HSYNC and VSYNC signals) or embedded synchros (ITU656 or CSI2). Figure 12, Figure 13, Figure 14, Figure 15 shows the three possible synchronizations: Figure 12. External HSYNC synchronization
51/66
Standard customization Figure 13. External VSYNC synchronization
SPEAR-09-B042
Figure 14. ITU656 embedded synchronization
52/66
SPEAR-09-B042 Figure 15. CSI2 embedded synchronization
Standard customization
The data carried by the bus can be either raw Bayer, JPEG compressed or one of several other common data formats. See Table 19. Data is stored in a 2048*32 buffer memory. The incoming format, as well as the number of banks inside the buffer memory impacts the maximum image size. One or two banks can be used. The only constraint is that the processor or the DMA read the memory before a new line is stored. Table 19. Maximum picture size according data format and buffer size
Incoming data size 10 -14 bits/pixel 8 bits/pixel 3 byte/pixel 2 bytes/pixel 2 byte/pixel 3 bytes/pixel 4 bytes/2pixel 1 byte/pixel /Squeeze Storage size 2 bytes 1 byte 4 bytes 2 bytes 2 bytes 4 bytes 2*2 bytes 1 byte raw Max 4/3 pict size (buf=2048) 12.58 Mpix 50.33 Mpix 3.14 Mpix 12.58 Mpix 12.58 Mpix 3.14 Mpix 12.58 Mpix 50.33 Mpix >>100 Mpix Max 4/3 pict size (buf=1024) 3.14 Mpix 12.58 Mpix 0.79 Mpix 3.14 Mpix 3.14 Mpix 0.79 Mpix 3.14 Mpix 12.58 Mpix >> 100 Mpix
Format of Incoming data Raw bayer10 Raw bayer8 RGB888 RGB565 RGB444 YCbCr444 YCbCr422 YCbCr400 MPEG
53/66
Standard customization
SPEAR-09-B042
The camera interface can be assigned to two different set of pins. When using data greater than 8-bits, it is not possible to use the MII interface. Table 20.
Pinout HSYNC VSYNC PixCLK DIO0 DIO1 DIO2 DIO3 DIO4 DIO5 DIO6 DIO7 DIO8 DIO9 DIO10 DIO11 DIO12 DIO13
Camera interface pinout
Description Horizontal synchro (line) Vertical synchro (frame) Pixel clock Data0 Data1 Data2 Data3 Data4 Data5 Data6 Data7 Data8 extension Data9 extension Data10 extension Data11 extension Data12 extension Data13 extension
Figure 16. Camera interface waveforms
54/66
SPEAR-09-B042 Table 21.
Symbol fPCLK tPCLKL tPCLKH tDV
Standard customization Camera interface timing specification
Description PCLK frequency PCLK low width PCLK high width PCLK to data 1/fPCLK - 3 1/fPCLK - 3 -3 Min Max 100 1/fPCLK + 3 1/fPCLK + 3 3 Unit MHz ns ns ns
9.4.12
Interrupt and DMA request management
This IP collects the interrupt request of several IPs in order to merge them on the intrrupt0 line of the interrupt controller. The interrupt handler that must determine the root of the interrupt. The IPs using interrupt0 line are the following:

Keyboard, Legacy GPIOs, GPIO_IT bus, I2S, TDM, Camera interface.
The IP is also connected on DMA_REQ channels 2 to 4 and transmits the request from the following IPs:

I2S, TDM, Camera interface.
DMA requests can be DMA burst request and/or DMA single request. Events of the different IPs able to generate an interrupt are the following:

Keyboard, Legacy GPIOs, IT_GPIO persistent change supervision, IT_GPIO change supervision, I2S buffer bank switching, TDM buffer bank switching, Camera interface new line available, Camera interface end of frame, Camera interface vertical sync appears active. I2S buffer bank switching, TDM buffer bank switching, Camera interface new line available.
The following types of IP DMA requests are supported:

55/66
Standard customization
SPEAR-09-B042
Keyboard and Legacy GPIOs can only generate interrupts (no DMA requests). These interrupts are cleared by writing inside the keyboard or legacy GPIOs registers. They are masked in this block. All other features managed by this block can generate interrupts. These interrupts are cleared by a dummy byte access in the 0x5006xxxx area from the interrupt handler, and masked by the mask register of this block. I2S, TDM and end of line from camera interface can launch a DMA transfer. DMA transfer are masked by the mask register of this block and cleared by the DMA controller (DMA_CLR and DMA_TC signals).
56/66
SPEAR-09-B042 Figure 17. Interrupt and DMA block for telecom peripherals
Standard customization
KeyB
LegGPIO Int_ ITp Set Dummy read byte @40060000 Clr Int_ITch Set Dummy read byte @40060001 Clr Int_ITi2s Dummy read byte @40060002 Int_ITtdm Dummy read byte @40060003 Int_ITcaml Dummy read byte @40060004 Int_ITcamf Dummy read byte @40060005 Int_ITcamv Dummy read byte @40060006 Set Clr Set Clr Set Clr Set Clr Set clr ITcamv ITcamf ITcaml ITtdm ITi2s ITch ITp
To interrupt ch0
Interrupt & DMA mask
Int_DMAi2s Dummy read byte @40060007 Int_DMAi2s Set i2s_SREQ Clr i2s_CLR i2s_TC Int_DMAtd Set Dummy read byte @40060008 Clr Int_DMAtdm tdm_BREQ tdm_SREQ tdm_CLR tdm_TC Int_DMAcaml Set Dummy read byte @40060009 Clr Int_DMAcaml caml_BREQ caml_SREQ caml_CLR caml_TC i2s_BREQ
} } }
To DMA ch2
To DMA ch3
To DMA ch4
57/66
Standard customization
SPEAR-09-B042
9.5
TDM timing
Figure 18. TDM signals description
tr tT T tTl tf 50%
CLK slave tMS tFs tFh Frame synchro CLK Master
tOd
tOd DOUT DIN tIs tIh
Table 22.
Symbol t tTh/tTl tr, tf tMS tFs tFh tOd tIs tIh
TDM timing specification (1024 TS = 65536 kHz = 15.26 ns)
Description Clock frequency High to low clock ratio Clock rising and falling time Clock slave to master delay Frame synchro setup time Frame synchro hold time Output data delay/clock Input data setup time Input data hold time 3 3 3 3 Min 15.26 75 100 125 3 3 t-3 Frame - t - 3 3 (5pF) Typ Max Unit ns ns ns ns ns ns ns ns ns
58/66
SPEAR-09-B042
Standard customization
9.5.1
I2S interface timings
Figure 19. TDM signals description
thsck tlsck
Tpsck1 I2S_CLK slave tMS I2S_CLK Master Td1sck Tdlr tplrc I2S_DOUT I2S_DIN tssdi thsdi Td2sck I2S_LRCK
tdlr
tdlr
Table 23.
Symbol tpsck1 thscl tlsck tplrck lrckDC td1sck td2sck tdlr tssdi, thsdi
I2S timing specification
Description Clock frequency High or low clock time lrck period lrck duty cycle slave lrck to clk falling clk rising to lrck rising clk falling to lrck edge Setup or hold time data in 10 Min 50 20 20 40 -10 20 10 127 60 600 Typ Max Unit ns ns s % ns ns ns ns
59/66
Electrical characteristics
SPEAR-09-B042
10
10.1
Electrical characteristics
Absolute maximum ratings
This product contains devices to protect the inputs against damage due to high static voltages. However it is advisable to take normal precaution to avoid application of any voltage higher than the specified maximum rated voltages. Table 24.
Symbol VDD core VDD I/O VDD PLL VDD DDR VDD RTC TJ TSTG
Absolute maximum rating
Description Supply voltage core Supply voltage I/O Supply voltage PLL Supply voltage DRAM interface Supply voltage RTC Junction temperature Storage temperature 4.8 2.4 -40 to 125 -55 to 150 Value 1.6 4.8 Unit V V V V V C C
The average chip-junction temperature, Tj, can be calculated using the following equation: Tj = TA + (PD * JA) where:

TA is the ambient temperature in C JA is the package junction-to-ambient thermal resistance, which is 34 C/W PD = PINT + PPORT - - PINT is the chip internal power PPORT is the power dissipation on Input and Output pins, user determined
If PPORT is neglected, an approximate relationship between PD is: PD = K / (Tj + 273 C) And, solving first equations: K = PD * (TA + 273 C) + JA x PD2 K is a constant for the particular case, which can be determined through last equation by measuring PD at equilibrium, for a known TA. Using this value of K, the value of PD and TJ can be obtained by solving first and second equation, iteratively for any value of TA.
60/66
SPEAR-09-B042
Electrical characteristics
10.2
DC electrical characteristics
Supply voltage specifications. The recommended operating conditions are listed in the Table 25: Table 25.
Symbol VDD core VDD I/O VDD PLL VDD OSC VDD DDR VDD RTC TOP
Recommended operating condition
Description Supply voltage core Supply voltage I/O Supply voltage PLL Supply voltage oscillator Supply voltage DRAM interface Supply voltage RTC Operating temperature Min 1.14 3 2.25 2.25 1.7 1.2 -40 Typ 1.2 3.3 2.5 2.5 1.8 1.5 Max 1.26 3.6 2.75 2.75 1.9 1.8 85 Unit V V V V V V C
10.3
General purpose I/O characteristics
The 3.3 V I/Os are compliant with JEDEC standard JESD8b Table 26.
Symbol Vil Vih Vhyst
Low voltage TTL DC input specification (3V< VDD <3.6V)
Description Low level input voltage High level input voltage Schmitt trigger hysteresis 2 300 800 Test condition Min Max 0.8 Unit V V mV
Table 27.
Symbol Vol Voh
Low voltage TTL DC output specification (3V< VDD <3.6V)
Description Low level output voltage High level output voltage Test condition Iol= XmA
(1)
Min
Max 0.3
Unit V V
Ioh= -XmA (1)
VDD - 0.3
1. For the max current value (XmA) refer to Section 6: Pins description.
Table 28.
Symbol Rpu Rpd
Pull-up and pull-down characteristics
Description Equivalent pull-up resistance Equivalent pull-down resistance Test condition Vi = 0V Vi = Vdde3V3 Min 29 29 Max 67 103 Unit KO KO
61/66
Electrical characteristics
SPEAR-09-B042
10.4
LPDDR and DDR2 pad electrical characteristics
Table 29.
Symbol Vil Vih Vhyst
DC characteristics
Description Low level input voltage High level input voltage Input voltage hysteresis Test condition SSTL18 SSTL18 Min -0.3 Max Vref-0.125 Unit V V mV
Vref+0.125 Vdde1V8+0.3 200
Table 30.
Symbol Ro
Driver characteristics
Description Output impedance Test condition Min Typ 45 Max Unit
Table 31.
Symbol RT1 RT2
On die termination
Description Termination value of resistance for on die termination Termination value of resistance for on die termination Test condition Min Typ 75 150 Max Unit
Table 32.
Symbol
Reference voltage
Description Test condition Min 0.49 * Vdde Typ 0.500 * Vdde Max 0.51 * Vdde Unit
VREFIN
Voltage applied at core/pad
V
10.5
Power up sequence
The only requirement is that the various power supplies reach the correct range in less than 10 ms.
10.6
PowerGood
The PowerGood signal should remain active for at least 10 ms after all the power supplies are in the correct range and should become active within 10 s of any of the power supplies going out of the correct range.
62/66
SPEAR-09-B042
Package information
11
Package information
In order to meet environmental requirements, ST offers these devices in ECOPACK(R) packages. These packages have a lead-free second level interconnect. The category of second level interconnect is marked on the package and on the inner box label, in compliance with JEDEC standard JESD97. The maximum ratings related to soldering conditions are also marked on the inner box label. ECOPACK is an ST trademark. ECOPACK specifications are available at: www.st.com. Figure 20. LFBGA289 mechanical data and package dimensions
mm DIM. MIN. A A1 A2 A3 A4 b D D1 E E1 e F ddd eee fff 0.350 0.400 0.270 0.985 0.200 0.800 TYP. MAX. 1.700 0.0106 0.0387 0.0078 0.0315 MIN. TYP. MAX. 0.0669 inch
OUTLINE AND MECHANICAL DATA
0.450 0.0137 0.0157 0.0177
14.850 15.000 15.150 0.5846 0.5906 0.5965 12.800 0.5039
14.850 15.000 15.150 0.5846 0.5906 0.5965 12.800 0.800 1.100 0.120 0.150 0.080 0.5039 0.0315 0.0433 0.0047 0.0059 0.0031
Body: 15 x 15 x 1.7mm
LFBGA289 Low profile Fine Pitch Ball Grid Array
8077927 B
63/66
Order code
SPEAR-09-B042
12
Order code
Table 33. Ordering information
Order code SPEAR-09-B042 Package LFBGA289 (15x15mm) Packing Tray
64/66
SPEAR-09-B042
Revision history
13
Revision history
Table 34.
Date 20-May-2008
Document revision history
Revision 1 Initial release. Changes
65/66
SPEAR-09-B042
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ("ST") reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST's terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST'S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER'S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
(c) 2008 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com
66/66


▲Up To Search▲   

 
Price & Availability of SPEAR-09-B042

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X